package main

import "fmt"

func main() {
	c := Car{Wheel{Size: 18}, Engine{143, "1.4t"}}
	fmt.Println(c)

	c2 := &Car{Wheel{Size: 18}, Engine{143, "1.4t"}}
	fmt.Println(c2)
}

type Wheel struct {
	Size int
}

type Engine struct {
	Power int
	Type  string
}

type Car struct {
	Wheel
	Engine
}
